projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17d9e94
)
testgtk: Avoid deprecation warnings
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 29 Jan 2016 16:51:09 +0000
(11:51 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 29 Jan 2016 16:54:07 +0000
(11:54 -0500)
Eventually, we should probably remove the examples that rely
on geometry support, since they probably don't work correctly
anymore. For now, just disable the warnings.
tests/testgtk.c
patch
|
blob
|
history
diff --git
a/tests/testgtk.c
b/tests/testgtk.c
index be43772dd9508c5e02f3003befa3ec10774d87a2..55572f52b395ff54d723d0fd616e471df225f527 100644
(file)
--- a/
tests/testgtk.c
+++ b/
tests/testgtk.c
@@
-7678,8
+7678,10
@@
set_geometry_callback (GtkWidget *entry,
text = gtk_editable_get_chars (GTK_EDITABLE (entry), 0, -1);
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
if (!gtk_window_parse_geometry (target, text))
g_print ("Bad geometry string '%s'\n", text);
+G_GNUC_END_IGNORE_DEPRECATIONS
g_free (text);
}